package com.example.service;

import cn.jiyun.config.R;
import cn.jiyun.entity.Employee;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;


public interface EmployeeService extends IService<Employee> {
    R<Employee> login(Employee employee);

    void add(Employee employee);

    Page<Employee> findPage(Page<Employee> pageInfo, LambdaQueryWrapper<Employee> queryWrapper);

    Employee findById(Long id);

    //R findById(Long id);
}
